﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BTGISWASECO.DataLayer;
using BTGISWASECO.BusinessEntities;


/// <summary>
/// Summary description for TruHongBLL
/// </summary>
/// 
namespace BTGISWASECO.BusinessLayer
{
    public class TruHongBLL
    {
        TruHongDAL dal = new TruHongDAL();
        public static List<TruHongEntities> GetList()
        {
            return TruHongDAL.GetList();
        }

        public static List<TruHongEntities> GetListByName(string keyword)
        {
            return TruHongDAL.GetListByName(keyword);
        }

        //public bool InsertTruHongEntities bk)
        //{
        //    return dal.Insert(bk);
        //}

        //public bool UpdateTruHongEntities bk)
        //{
        //    return dal.Update(bk);
        //}

        //public bool DeleteTruHongEntities bk)
        //{
        //    return dal.Delete(bk);
        //}

        public TruHongEntities GetTruHongEntitiesByID()
        {
            return dal.GetTruHongEntitiesByID();
        }
        public TruHongBLL()
        {
            //
            // TODO: Add constructor logic here
            //
        }
    }
}